package com.atguigu.campus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName(value ="tb_classroom")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Classroom {
    @TableId(type = IdType.AUTO)
    private  Integer id;
    private Integer cr_id;//教室代码
    private  String cr_name;//教室名称
    private Integer  cr_number;//容纳人数
    private String cr_location;//教室位置
    private String cr_campus;//所属校区
    private String cr_department;//所属院系
    private  String cr_type;//教室类型
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
